
internal abstract class MemoryMapper
{
	
	 protected internal abstract void init(NES nes);
     protected internal abstract void loadROM(ROM rom);
     protected internal abstract void write(int address, short value);
     protected internal abstract short load(int address);
     protected abstract short joy1Read();
     protected abstract short joy2Read();
     protected internal abstract void reset();
     protected internal abstract void setGameGenieState(bool value);
     protected internal abstract void clockIrqCounter();
     protected abstract void loadBatteryRam();
     protected internal abstract void destroy();
     protected internal abstract void stateLoad(ByteBuffer buf);
     protected internal abstract void stateSave(ByteBuffer buf);
     protected internal abstract void setMouseState(bool pressed, int x, int y);
     protected internal abstract void latchAccess(int address);
	
}